from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from gironimo.account.views import activate, register


urlpatterns = patterns('',
    url(r'^register/$', register, {'backend': 'gironimo.account.backends.simple.SimpleBackend'}, name='registration_register'),
    url(r'^register/closed/$', direct_to_template, {'template': 'account/registration_closed.html'}, name='registration_disallowed'),
    (r'', include('gironimo.account.auth_urls')),
)

